package cn.com.lsy.product.lepao.model.entities;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class LpWeekSportTotalTblExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public LpWeekSportTotalTblExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTimeIsNull() {
            addCriterion("time is null");
            return (Criteria) this;
        }

        public Criteria andTimeIsNotNull() {
            addCriterion("time is not null");
            return (Criteria) this;
        }

        public Criteria andTimeEqualTo(String value) {
            addCriterion("time =", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotEqualTo(String value) {
            addCriterion("time <>", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeGreaterThan(String value) {
            addCriterion("time >", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeGreaterThanOrEqualTo(String value) {
            addCriterion("time >=", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeLessThan(String value) {
            addCriterion("time <", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeLessThanOrEqualTo(String value) {
            addCriterion("time <=", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeLike(String value) {
            addCriterion("time like", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotLike(String value) {
            addCriterion("time not like", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeIn(List<String> values) {
            addCriterion("time in", values, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotIn(List<String> values) {
            addCriterion("time not in", values, "time");
            return (Criteria) this;
        }

        public Criteria andTimeBetween(String value1, String value2) {
            addCriterion("time between", value1, value2, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotBetween(String value1, String value2) {
            addCriterion("time not between", value1, value2, "time");
            return (Criteria) this;
        }

        public Criteria andCalorieTotalIsNull() {
            addCriterion("calorie_total is null");
            return (Criteria) this;
        }

        public Criteria andCalorieTotalIsNotNull() {
            addCriterion("calorie_total is not null");
            return (Criteria) this;
        }

        public Criteria andCalorieTotalEqualTo(Integer value) {
            addCriterion("calorie_total =", value, "calorieTotal");
            return (Criteria) this;
        }

        public Criteria andCalorieTotalNotEqualTo(Integer value) {
            addCriterion("calorie_total <>", value, "calorieTotal");
            return (Criteria) this;
        }

        public Criteria andCalorieTotalGreaterThan(Integer value) {
            addCriterion("calorie_total >", value, "calorieTotal");
            return (Criteria) this;
        }

        public Criteria andCalorieTotalGreaterThanOrEqualTo(Integer value) {
            addCriterion("calorie_total >=", value, "calorieTotal");
            return (Criteria) this;
        }

        public Criteria andCalorieTotalLessThan(Integer value) {
            addCriterion("calorie_total <", value, "calorieTotal");
            return (Criteria) this;
        }

        public Criteria andCalorieTotalLessThanOrEqualTo(Integer value) {
            addCriterion("calorie_total <=", value, "calorieTotal");
            return (Criteria) this;
        }

        public Criteria andCalorieTotalIn(List<Integer> values) {
            addCriterion("calorie_total in", values, "calorieTotal");
            return (Criteria) this;
        }

        public Criteria andCalorieTotalNotIn(List<Integer> values) {
            addCriterion("calorie_total not in", values, "calorieTotal");
            return (Criteria) this;
        }

        public Criteria andCalorieTotalBetween(Integer value1, Integer value2) {
            addCriterion("calorie_total between", value1, value2, "calorieTotal");
            return (Criteria) this;
        }

        public Criteria andCalorieTotalNotBetween(Integer value1, Integer value2) {
            addCriterion("calorie_total not between", value1, value2, "calorieTotal");
            return (Criteria) this;
        }

        public Criteria andSecondTotalIsNull() {
            addCriterion("second_total is null");
            return (Criteria) this;
        }

        public Criteria andSecondTotalIsNotNull() {
            addCriterion("second_total is not null");
            return (Criteria) this;
        }

        public Criteria andSecondTotalEqualTo(Integer value) {
            addCriterion("second_total =", value, "secondTotal");
            return (Criteria) this;
        }

        public Criteria andSecondTotalNotEqualTo(Integer value) {
            addCriterion("second_total <>", value, "secondTotal");
            return (Criteria) this;
        }

        public Criteria andSecondTotalGreaterThan(Integer value) {
            addCriterion("second_total >", value, "secondTotal");
            return (Criteria) this;
        }

        public Criteria andSecondTotalGreaterThanOrEqualTo(Integer value) {
            addCriterion("second_total >=", value, "secondTotal");
            return (Criteria) this;
        }

        public Criteria andSecondTotalLessThan(Integer value) {
            addCriterion("second_total <", value, "secondTotal");
            return (Criteria) this;
        }

        public Criteria andSecondTotalLessThanOrEqualTo(Integer value) {
            addCriterion("second_total <=", value, "secondTotal");
            return (Criteria) this;
        }

        public Criteria andSecondTotalIn(List<Integer> values) {
            addCriterion("second_total in", values, "secondTotal");
            return (Criteria) this;
        }

        public Criteria andSecondTotalNotIn(List<Integer> values) {
            addCriterion("second_total not in", values, "secondTotal");
            return (Criteria) this;
        }

        public Criteria andSecondTotalBetween(Integer value1, Integer value2) {
            addCriterion("second_total between", value1, value2, "secondTotal");
            return (Criteria) this;
        }

        public Criteria andSecondTotalNotBetween(Integer value1, Integer value2) {
            addCriterion("second_total not between", value1, value2, "secondTotal");
            return (Criteria) this;
        }

        public Criteria andCaloriePlanIsNull() {
            addCriterion("calorie_plan is null");
            return (Criteria) this;
        }

        public Criteria andCaloriePlanIsNotNull() {
            addCriterion("calorie_plan is not null");
            return (Criteria) this;
        }

        public Criteria andCaloriePlanEqualTo(Integer value) {
            addCriterion("calorie_plan =", value, "caloriePlan");
            return (Criteria) this;
        }

        public Criteria andCaloriePlanNotEqualTo(Integer value) {
            addCriterion("calorie_plan <>", value, "caloriePlan");
            return (Criteria) this;
        }

        public Criteria andCaloriePlanGreaterThan(Integer value) {
            addCriterion("calorie_plan >", value, "caloriePlan");
            return (Criteria) this;
        }

        public Criteria andCaloriePlanGreaterThanOrEqualTo(Integer value) {
            addCriterion("calorie_plan >=", value, "caloriePlan");
            return (Criteria) this;
        }

        public Criteria andCaloriePlanLessThan(Integer value) {
            addCriterion("calorie_plan <", value, "caloriePlan");
            return (Criteria) this;
        }

        public Criteria andCaloriePlanLessThanOrEqualTo(Integer value) {
            addCriterion("calorie_plan <=", value, "caloriePlan");
            return (Criteria) this;
        }

        public Criteria andCaloriePlanIn(List<Integer> values) {
            addCriterion("calorie_plan in", values, "caloriePlan");
            return (Criteria) this;
        }

        public Criteria andCaloriePlanNotIn(List<Integer> values) {
            addCriterion("calorie_plan not in", values, "caloriePlan");
            return (Criteria) this;
        }

        public Criteria andCaloriePlanBetween(Integer value1, Integer value2) {
            addCriterion("calorie_plan between", value1, value2, "caloriePlan");
            return (Criteria) this;
        }

        public Criteria andCaloriePlanNotBetween(Integer value1, Integer value2) {
            addCriterion("calorie_plan not between", value1, value2, "caloriePlan");
            return (Criteria) this;
        }

        public Criteria andSecondPlanIsNull() {
            addCriterion("second_plan is null");
            return (Criteria) this;
        }

        public Criteria andSecondPlanIsNotNull() {
            addCriterion("second_plan is not null");
            return (Criteria) this;
        }

        public Criteria andSecondPlanEqualTo(Integer value) {
            addCriterion("second_plan =", value, "secondPlan");
            return (Criteria) this;
        }

        public Criteria andSecondPlanNotEqualTo(Integer value) {
            addCriterion("second_plan <>", value, "secondPlan");
            return (Criteria) this;
        }

        public Criteria andSecondPlanGreaterThan(Integer value) {
            addCriterion("second_plan >", value, "secondPlan");
            return (Criteria) this;
        }

        public Criteria andSecondPlanGreaterThanOrEqualTo(Integer value) {
            addCriterion("second_plan >=", value, "secondPlan");
            return (Criteria) this;
        }

        public Criteria andSecondPlanLessThan(Integer value) {
            addCriterion("second_plan <", value, "secondPlan");
            return (Criteria) this;
        }

        public Criteria andSecondPlanLessThanOrEqualTo(Integer value) {
            addCriterion("second_plan <=", value, "secondPlan");
            return (Criteria) this;
        }

        public Criteria andSecondPlanIn(List<Integer> values) {
            addCriterion("second_plan in", values, "secondPlan");
            return (Criteria) this;
        }

        public Criteria andSecondPlanNotIn(List<Integer> values) {
            addCriterion("second_plan not in", values, "secondPlan");
            return (Criteria) this;
        }

        public Criteria andSecondPlanBetween(Integer value1, Integer value2) {
            addCriterion("second_plan between", value1, value2, "secondPlan");
            return (Criteria) this;
        }

        public Criteria andSecondPlanNotBetween(Integer value1, Integer value2) {
            addCriterion("second_plan not between", value1, value2, "secondPlan");
            return (Criteria) this;
        }

        public Criteria andCalorieCourseIsNull() {
            addCriterion("calorie_course is null");
            return (Criteria) this;
        }

        public Criteria andCalorieCourseIsNotNull() {
            addCriterion("calorie_course is not null");
            return (Criteria) this;
        }

        public Criteria andCalorieCourseEqualTo(Integer value) {
            addCriterion("calorie_course =", value, "calorieCourse");
            return (Criteria) this;
        }

        public Criteria andCalorieCourseNotEqualTo(Integer value) {
            addCriterion("calorie_course <>", value, "calorieCourse");
            return (Criteria) this;
        }

        public Criteria andCalorieCourseGreaterThan(Integer value) {
            addCriterion("calorie_course >", value, "calorieCourse");
            return (Criteria) this;
        }

        public Criteria andCalorieCourseGreaterThanOrEqualTo(Integer value) {
            addCriterion("calorie_course >=", value, "calorieCourse");
            return (Criteria) this;
        }

        public Criteria andCalorieCourseLessThan(Integer value) {
            addCriterion("calorie_course <", value, "calorieCourse");
            return (Criteria) this;
        }

        public Criteria andCalorieCourseLessThanOrEqualTo(Integer value) {
            addCriterion("calorie_course <=", value, "calorieCourse");
            return (Criteria) this;
        }

        public Criteria andCalorieCourseIn(List<Integer> values) {
            addCriterion("calorie_course in", values, "calorieCourse");
            return (Criteria) this;
        }

        public Criteria andCalorieCourseNotIn(List<Integer> values) {
            addCriterion("calorie_course not in", values, "calorieCourse");
            return (Criteria) this;
        }

        public Criteria andCalorieCourseBetween(Integer value1, Integer value2) {
            addCriterion("calorie_course between", value1, value2, "calorieCourse");
            return (Criteria) this;
        }

        public Criteria andCalorieCourseNotBetween(Integer value1, Integer value2) {
            addCriterion("calorie_course not between", value1, value2, "calorieCourse");
            return (Criteria) this;
        }

        public Criteria andSecondCourseIsNull() {
            addCriterion("second_course is null");
            return (Criteria) this;
        }

        public Criteria andSecondCourseIsNotNull() {
            addCriterion("second_course is not null");
            return (Criteria) this;
        }

        public Criteria andSecondCourseEqualTo(Integer value) {
            addCriterion("second_course =", value, "secondCourse");
            return (Criteria) this;
        }

        public Criteria andSecondCourseNotEqualTo(Integer value) {
            addCriterion("second_course <>", value, "secondCourse");
            return (Criteria) this;
        }

        public Criteria andSecondCourseGreaterThan(Integer value) {
            addCriterion("second_course >", value, "secondCourse");
            return (Criteria) this;
        }

        public Criteria andSecondCourseGreaterThanOrEqualTo(Integer value) {
            addCriterion("second_course >=", value, "secondCourse");
            return (Criteria) this;
        }

        public Criteria andSecondCourseLessThan(Integer value) {
            addCriterion("second_course <", value, "secondCourse");
            return (Criteria) this;
        }

        public Criteria andSecondCourseLessThanOrEqualTo(Integer value) {
            addCriterion("second_course <=", value, "secondCourse");
            return (Criteria) this;
        }

        public Criteria andSecondCourseIn(List<Integer> values) {
            addCriterion("second_course in", values, "secondCourse");
            return (Criteria) this;
        }

        public Criteria andSecondCourseNotIn(List<Integer> values) {
            addCriterion("second_course not in", values, "secondCourse");
            return (Criteria) this;
        }

        public Criteria andSecondCourseBetween(Integer value1, Integer value2) {
            addCriterion("second_course between", value1, value2, "secondCourse");
            return (Criteria) this;
        }

        public Criteria andSecondCourseNotBetween(Integer value1, Integer value2) {
            addCriterion("second_course not between", value1, value2, "secondCourse");
            return (Criteria) this;
        }

        public Criteria andCalorieApparatusIsNull() {
            addCriterion("calorie_apparatus is null");
            return (Criteria) this;
        }

        public Criteria andCalorieApparatusIsNotNull() {
            addCriterion("calorie_apparatus is not null");
            return (Criteria) this;
        }

        public Criteria andCalorieApparatusEqualTo(Integer value) {
            addCriterion("calorie_apparatus =", value, "calorieApparatus");
            return (Criteria) this;
        }

        public Criteria andCalorieApparatusNotEqualTo(Integer value) {
            addCriterion("calorie_apparatus <>", value, "calorieApparatus");
            return (Criteria) this;
        }

        public Criteria andCalorieApparatusGreaterThan(Integer value) {
            addCriterion("calorie_apparatus >", value, "calorieApparatus");
            return (Criteria) this;
        }

        public Criteria andCalorieApparatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("calorie_apparatus >=", value, "calorieApparatus");
            return (Criteria) this;
        }

        public Criteria andCalorieApparatusLessThan(Integer value) {
            addCriterion("calorie_apparatus <", value, "calorieApparatus");
            return (Criteria) this;
        }

        public Criteria andCalorieApparatusLessThanOrEqualTo(Integer value) {
            addCriterion("calorie_apparatus <=", value, "calorieApparatus");
            return (Criteria) this;
        }

        public Criteria andCalorieApparatusIn(List<Integer> values) {
            addCriterion("calorie_apparatus in", values, "calorieApparatus");
            return (Criteria) this;
        }

        public Criteria andCalorieApparatusNotIn(List<Integer> values) {
            addCriterion("calorie_apparatus not in", values, "calorieApparatus");
            return (Criteria) this;
        }

        public Criteria andCalorieApparatusBetween(Integer value1, Integer value2) {
            addCriterion("calorie_apparatus between", value1, value2, "calorieApparatus");
            return (Criteria) this;
        }

        public Criteria andCalorieApparatusNotBetween(Integer value1, Integer value2) {
            addCriterion("calorie_apparatus not between", value1, value2, "calorieApparatus");
            return (Criteria) this;
        }

        public Criteria andSecondApparatusIsNull() {
            addCriterion("second_apparatus is null");
            return (Criteria) this;
        }

        public Criteria andSecondApparatusIsNotNull() {
            addCriterion("second_apparatus is not null");
            return (Criteria) this;
        }

        public Criteria andSecondApparatusEqualTo(Integer value) {
            addCriterion("second_apparatus =", value, "secondApparatus");
            return (Criteria) this;
        }

        public Criteria andSecondApparatusNotEqualTo(Integer value) {
            addCriterion("second_apparatus <>", value, "secondApparatus");
            return (Criteria) this;
        }

        public Criteria andSecondApparatusGreaterThan(Integer value) {
            addCriterion("second_apparatus >", value, "secondApparatus");
            return (Criteria) this;
        }

        public Criteria andSecondApparatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("second_apparatus >=", value, "secondApparatus");
            return (Criteria) this;
        }

        public Criteria andSecondApparatusLessThan(Integer value) {
            addCriterion("second_apparatus <", value, "secondApparatus");
            return (Criteria) this;
        }

        public Criteria andSecondApparatusLessThanOrEqualTo(Integer value) {
            addCriterion("second_apparatus <=", value, "secondApparatus");
            return (Criteria) this;
        }

        public Criteria andSecondApparatusIn(List<Integer> values) {
            addCriterion("second_apparatus in", values, "secondApparatus");
            return (Criteria) this;
        }

        public Criteria andSecondApparatusNotIn(List<Integer> values) {
            addCriterion("second_apparatus not in", values, "secondApparatus");
            return (Criteria) this;
        }

        public Criteria andSecondApparatusBetween(Integer value1, Integer value2) {
            addCriterion("second_apparatus between", value1, value2, "secondApparatus");
            return (Criteria) this;
        }

        public Criteria andSecondApparatusNotBetween(Integer value1, Integer value2) {
            addCriterion("second_apparatus not between", value1, value2, "secondApparatus");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Integer value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Integer value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Integer value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Integer value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Integer> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Integer> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Integer value1, Integer value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNull() {
            addCriterion("start_time is null");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNotNull() {
            addCriterion("start_time is not null");
            return (Criteria) this;
        }

        public Criteria andStartTimeEqualTo(String value) {
            addCriterion("start_time =", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotEqualTo(String value) {
            addCriterion("start_time <>", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThan(String value) {
            addCriterion("start_time >", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThanOrEqualTo(String value) {
            addCriterion("start_time >=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThan(String value) {
            addCriterion("start_time <", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThanOrEqualTo(String value) {
            addCriterion("start_time <=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLike(String value) {
            addCriterion("start_time like", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotLike(String value) {
            addCriterion("start_time not like", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeIn(List<String> values) {
            addCriterion("start_time in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotIn(List<String> values) {
            addCriterion("start_time not in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeBetween(String value1, String value2) {
            addCriterion("start_time between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotBetween(String value1, String value2) {
            addCriterion("start_time not between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNull() {
            addCriterion("end_time is null");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNotNull() {
            addCriterion("end_time is not null");
            return (Criteria) this;
        }

        public Criteria andEndTimeEqualTo(String value) {
            addCriterion("end_time =", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotEqualTo(String value) {
            addCriterion("end_time <>", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThan(String value) {
            addCriterion("end_time >", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThanOrEqualTo(String value) {
            addCriterion("end_time >=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThan(String value) {
            addCriterion("end_time <", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThanOrEqualTo(String value) {
            addCriterion("end_time <=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLike(String value) {
            addCriterion("end_time like", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotLike(String value) {
            addCriterion("end_time not like", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIn(List<String> values) {
            addCriterion("end_time in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotIn(List<String> values) {
            addCriterion("end_time not in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeBetween(String value1, String value2) {
            addCriterion("end_time between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotBetween(String value1, String value2) {
            addCriterion("end_time not between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}